home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20000217-20000824
/
000303_news@columbia.edu _Tue May 16 06:07:50 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-08-23
|
2KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by fozimane.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id GAA07427
for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 16 May 2000 06:07:50 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id GAA28117
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 16 May 2000 06:07:49 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id FAA16846
for kermit.misc@watsun.cc.columbia.edu; Tue, 16 May 2000 05:52:16 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: "ralf.strandell" <ralf.strandell@silja.com>
Subject: translate produces rubbish
Message-ID: <1T8U4.104$kw4.3981@read2.inet.fi>
Date: Tue, 16 May 2000 09:51:57 GMT
Organization: Sonera corp Internet services
To: kermit.misc@columbia.edu
Hi,
I'm using C-Kermit 7.0.196 for Unixware
on an Unixware 7.0.1 server.
I'm trying to convert files from ascii to cp850
(from unix to dos) but when I give the command:
"translate testfile1 ascii cp850 testfile2"
then testfile2 contains nothing sane.
Examples: let's convert from ascii to ascii (identical)
file1 is:
abc
def
123
ghi
after "translate file1 ascii ascii file2" I get file2:
b
e
2
h
What happened with the rest of the characters?
If I convert from ascii to cp850 ( or from ascii to latin1 )
then all characters in the output file will be question marks.
What's wrong?
I need this conversion utility because not all data transfer applications
know how to translate character sets. (kermit does, but some files must be
moved to directories that are mounted over network and
the mv command does not convert anything... )
Thanks for any help
Ralf